package vcexam;

class Plant{
	private String name;
	
	
	public Plant(){
		this("fern");
	}
	
	public Plant(String name){
		this.name = name;
	}
	
	public String getName(){
		return name;
	}
}
/* */
interface Go{ public void go();}
class Sente implements Go{
	public void go() {
		System.out.println("go in Sente");
	}
	
}
class Goban extends Sente{
	public void go(){
		System.out.println("go in Goban");
	}
}
class Stone extends Goban implements Go{ } 

/* */
interface A111 {
	String s = "to";
	void methodo1();
}

interface B{}

interface C extends A111, B{
	public void methode1();
	public void methode1(int x);
}

public class Tree extends Plant implements C{

	public void Fruit(){}
	public void Leveas(){}
	
	public static void main(String[] args) {
	
		Sente a = new Sente(); a.go();
		Goban b = new Goban(); b.go();
		Stone c = new Stone(); c.go();
	}
	@Override
	public void methodo1() {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void methode1() {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void methode1(int x) {
		// TODO Auto-generated method stub
		
	}
	
	
}
